L = [];
n = 1;
while n<100:
    L.append(n);
    n = n+2;

print(L);

L = ['Michael', 'Sarah', 'Tracy', 'Bob', 'Jack'];


r = [];

n = 3;
for i in range(n):
    r.append(L[i]);

print(r);

print(L[0:3]);

print(L[:3]);
print(L[-1:]);
print(L[-2:-1]);